package user;
import booklist.BookList;
import operation.Operation;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-04-10
 * Time: 15:58
 */
public abstract class User {
    protected String userName;

    //创建一个Operation接口类型的数组，此处不初始化
    public Operation[] dooperation;
    //提供一个 操作接口数组的方法
    public abstract void doOperation ( int choice,BookList bookList);

    public User (String name) {
        this.userName = name;
    }

    public abstract int menu();

}
